<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
?>

<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<h4 class="modal-title">操作记录</h4>
</div>

<div style="font-size: 13px; border-radius:1px;">
	<table class="table table-hover">
	<tr>
		<th >操作人</th> <th>操作时间</th> <th>内容</th>
	</tr>
		<?php foreach($data as $key=>$val){ ?>
		<tr>
			<td class="col-md-2"><?= empty($val->user_id) ? '' :  $val->member->profile->name ?></td>
			<td class="col-md-4"><?= $val->created_at ?></td>
			<td><?= $val->desc ?></td>
		</tr>
		<?php } ?>
	</table>
</div>

